package com.hqj.study.pojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import java.io.Serializable;
import java.lang.String;
import java.lang.Integer;
/****
 * @Author:admin
 * @Description:Account构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "Account",value = "Account")
@Table(name="account")
public class Account implements Serializable{

	@ApiModelProperty(value = "主键id",required = false)
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	private Integer id;//主键id

	@ApiModelProperty(value = "登录账户",required = false)
    @Column(name = "logout")
	private String logout;//登录账户

	@ApiModelProperty(value = "登录密码",required = false)
    @Column(name = "password")
	private String password;//登录密码



	//get方法
	public Integer getId() {
		return id;
	}

	//set方法
	public void setId(Integer id) {
		this.id = id;
	}
	//get方法
	public String getLogout() {
		return logout;
	}

	//set方法
	public void setLogout(String logout) {
		this.logout = logout;
	}
	//get方法
	public String getPassword() {
		return password;
	}

	//set方法
	public void setPassword(String password) {
		this.password = password;
	}


}
